package com.xiu.travel.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;

/**
 * @author lijie
 * @date 2023/5/13 21:09
 * @description IndexImageTypeEnum
 */
@AllArgsConstructor
public enum IndexImageTypeEnum implements IEnum<Integer>
{
    /**
     * 收银机主页轮播图
     */
    CHECKSTAND_INDEX_CAROUSEL_IMAGES(0,"收银机主页轮播图"),
    /**
     * 收银机底部图
     */
    CHECKSTAND_INDEX_BOTTOM_IMAGES(1,"收银机底部图"),
    /**
     * 店铺自定义轮播图
     */
    CUSTOM_CAROUSEL_ON_MOBILE(2,"移动端自定义轮播图");

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String status;

    public String getStatus() {
        return status;
    }
    @Override
    public Integer getValue()
    {
        return code;
    }
}
